﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.Crc.WFManage.DAL.WorkFormManage;
using Com.Crc.PoJo.Model.WorkForm;
using System.Data;

namespace Com.Crc.WFManage.BLL.WorkFormManage
{
    public class WFWLANManageBLL
    {
        WFWLANManageDAL dal = new WFWLANManageDAL();

        public DataTable queryBy(int wfType,string account)
        {

            try
            {
                return dal.queryBy(wfType, account);
            }
            catch (Exception ex)
            {
                string strError = ex.Message.ToString();
                return null;
            }
        }

        public bool addWFWLAN(WFWLAN data)
        {

            try
            {
                return dal.addWFWLAN(data);
            }
            catch (Exception ex)
            {
                string strError = ex.Message.ToString();
                return false;
            }

        }

    }
}
